package com.coderman.common.model.business;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 商品库存
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "biz_product_stock")
public class ProductStock implements Serializable {

	private static final long serialVersionUID = -973909805778205016L;

	@Id
	private Long id;

	private String pNum;

	private Long stock;

}
